package com.qf.quduba.dao;

import com.qf.quduba.entity.Consume;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作者：程意
 * 时间：2020/10/14 15:11
 */
public interface ConsumeDao {
    List<Consume> findUserConsume(Integer userId);
    int deleteConsume(Integer consumeId);
    int saveConsume(Consume consume);
    Consume findConsumeByUserIdChapterId(@Param("userId") Integer userId, @Param("chapterId") Integer chapterId);
}
